package com.macken.zjh.network.req;

import com.game.BaseRequest;
import com.macken.zjh.constant.CMD;

public class ActionRequest extends BaseRequest {


	public int did;
	public int pid;
	public int action;
	public int value;
	
	//action为加注时 value加注额 action为比牌时 value为玩家pid
	
	@Override
	public short getCmd() {
		return CMD.REQ_ACTION;
	}

	@Override
	public void sendServerData() {
		builder.setInt(did);
		builder.setInt(pid);
		builder.setInt(action);
		builder.setInt(value);
	}
	

}
